// ml:run = $bin < input
#include <iostream>
#include <algorithm>
#include <string>
#include <vector>

using ll = long long;
ll n, k;

int main()
{
    std::ios::sync_with_stdio(false);
    std::cin >> n >> k;
    auto a = n / k;
    if (a & 1)
        std::cout << "YES\n";
    else
        std::cout << "NO\n";
}

